package com.czk.entity;

import lombok.*;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/12/12 15:18
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    private int id;
    private String name;
    /**
     * 演示一对多时打开
     */
    private int tid;
    /**
     * 演示多对一打开这个属性，多个学生对应一个老师
     */
    private Teacher teacher;
}
